/**
 * Copyright (C), 2015-2018, XXX有限公司
 * FileName: DeptServiceImpl
 * Author:   zhouheng
 * Date:     2018/7/10 14:16
 * Description: 部门类业务类
 * History:
 * <author>          <time>          <version>          <desc>
 * 作者姓名           修改时间           版本号              描述
 */
package com.hengby.hengcrud.modular.sys.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.hengby.hengcrud.core.node.ZTreeNode;
import com.hengby.hengcrud.modular.sys.mapper.DeptMapper;
import com.hengby.hengcrud.modular.sys.model.Dept;
import com.hengby.hengcrud.modular.sys.service.IDeptService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 〈一句话功能简述〉<br> 
 * 〈部门类业务类〉
 *
 * @author zhouheng
 * @create 2018/7/10
 * @since 1.0.0
 */
@Service
public class DeptServiceImpl extends ServiceImpl<DeptMapper,Dept> implements IDeptService{


    @Override
    public List<ZTreeNode> tree() {
        return this.baseMapper.tree();
    }
}